﻿namespace MSRI.SmsSessions
{
    using System;

    public class SmsSessionContact
    {
        private string _mobile;
        private string _name;

        public SmsSessionContact()
        {
            this._name = "";
            this._mobile = "";
        }

        public SmsSessionContact(SmsSessionContact ContactItem)
        {
            this._name = ContactItem.Name;
            this._mobile = ContactItem.Mobile;
        }

        public SmsSessionContact(string ContactMobile)
        {
            this._name = "";
            this._mobile = ContactMobile;
        }

        public SmsSessionContact(string ContactName, string ContactMobile)
        {
            this._name = ContactName;
            this._mobile = ContactMobile;
        }

        public override string ToString()
        {
            return string.Format("{0}<{1}>", this._name, this._mobile);
        }

        public string Mobile
        {
            get
            {
                return this._mobile;
            }
            set
            {
                this._mobile = value;
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }
    }
}

